package com.yimixian.app.model;

import java.io.Serializable;
import java.util.List;

public class Section implements Serializable{

    public final int id;
    public final String name;
    public final String subTitle;
    public final float bannersImgRatio;
    public final List<Banner> banners;
    public final List<DeliveryMode> deliveryModes;
    public final List<GoodsItem> goods;

    public Section(
            int id,
            String name,
            String subTitle,
            float bannersImgRatio,
            List<Banner> banners,
            List<DeliveryMode> deliveryModes,
            List<GoodsItem> goods) {
        this.id = id;
        this.name = name;
        this.subTitle = subTitle;
        this.bannersImgRatio = bannersImgRatio;
        this.banners = banners;
        this.deliveryModes = deliveryModes;
        this.goods = goods;
    }
}
